﻿@model sipfe.model.dataAccess.SIPMaeEmpresa
@using Resources;
<script type="text/javascript" src="@Url.Content(@properties.mantePersonaJS)"></script>
<div id="divDatosVinculo">@RenderPage("../../Shared/ROVinculoEmpresa.cshtml")</div>
<br />
<fieldset style="width: 280px;">
    <legend><span>Registrar Nuevo Vínculo</span></legend>
    <table>
        <tr>
            <td>Tipo Vínculo<span class="asterisco">(*)</span></td>
            <td>&nbsp;</td>
            <td>Categoría</td>
        </tr>
        <tr>
            <td>@Html.DropDownList("nIdeVinculo", (IEnumerable<SelectListItem>)ViewBag.VinculoEmpresa, "--Seleccione--", new { @class = "select8", onchange = "javascript:checkVinculoEmpresa(this);" })</td>
            <td>-</td>
            <td>@Html.DropDownList("nIdeCategoria", (IEnumerable<SelectListItem>)ViewBag.CategoriaVinculo, "--Seleccione--", new { @class = "select8" })</td>
        </tr>
        <tr>
            <td style="height: 30px; text-align: center;" colspan="3">
                <input type="button" value="Registrar" onclick="javascript: registrarVinculoEmpresa('#divDatosVinculo', '2');" />
            </td>
        </tr>
    </table>
</fieldset>
